package com.dayuanit.mianshi;

import com.dayuanit.mianshi.game.Player;

/**
 * 玩家子类
 */
public class CommonPlayer implements Player {

    private final String username;

    public CommonPlayer(String username) {
        this.username = username;
    }

    @Override
    public String getUsername() {
        return this.username;
    }

    @Override
    public void write(String message) {

    }

    @Override
    public boolean isOffline() {
        return false;
    }
}
